package com.ym.b2b.commons.conf;

import java.math.BigDecimal;

/**
 * 代理者TOKEN 比如业务员：也有可能是其他身份 只要是可代理的
 * 
 * @ClassName: AgentToken
 * @Description: TODO
 * @Author 竺夏军
 * @Date 2015年3月19日 下午2:58:09
 * @Modify
 * @CopyRight 信息化团队
 */
public class AgentToken extends BaseToken {

    private Long       agentId;        // 代理者身份ID
    private String     agentName;      // 代理者name
    private String     loginName;      // 登陆名
    private Short      salesmanType;   // 代理者类型
    private String     providerCode;
    private BigDecimal isAgentProvider;
    private BigDecimal addBuyer;		// 1-身份代理可代理所有客户,2-可代理所属客户 ,0 厂家业务员,不可代理客户
    private String     salesmanNo;
    private Long       salesmanId;

    public Long getSalesmanId() {
        return salesmanId;
    }

    public void setSalesmanId(Long salesmanId) {
        this.salesmanId = salesmanId;
    }

    public String getSalesmanNo() {
        return salesmanNo;
    }

    public void setSalesmanNo(String salesmanNo) {
        this.salesmanNo = salesmanNo;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public Short getSalesmanType() {
        return salesmanType;
    }

    public void setSalesmanType(Short salesmanType) {
        this.salesmanType = salesmanType;
    }

    public String getProviderCode() {
        return providerCode;
    }

    public void setProviderCode(String providerCode) {
        this.providerCode = providerCode;
    }

    public BigDecimal getIsAgentProvider() {
        return isAgentProvider;
    }

    public void setIsAgentProvider(BigDecimal isAgentProvider) {
        this.isAgentProvider = isAgentProvider;
    }

    public BigDecimal getAddBuyer() {
        return addBuyer;
    }

    public void setAddBuyer(BigDecimal addBuyer) {
        this.addBuyer = addBuyer;
    }
}
